#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>
int main()
{
    chdir("/home/us1/");
    fopen("pcb_test.txt","w");
    while(1)
    {

        printf("run,run,run,mypid:%d\n",getpid());
        sleep(1);
        printf("My father ppid:%d\n",getppid());
        sleep(1);
    }
    return 0;
}
